{extend name="layout/base" /}
<!-- 标题 -->
{block name="title"}{$column['column_name']}{/block}
<!-- CSS -->
{block name="css"}{/block}
<!-- 具体内容 -->
{block name="content"}
<h2 class="header-dividing">{$column['column_name']} <small>{$column['column_enname']}</small></h2>
<form class="form-horizontal" id="form-page-submit" method="post" action="{:url('@admin/wspage/update')}">
<input type="hidden" name="column_id" value="{$column['column_id']}">
<script id="column_details" name="column_details" type="text/plain">{$column['column_details']|raw}</script>
<div class="panel mt20">
    <div class="panel-body text-center">
        <button type="submit" class="btn btn-primary btn-submit">保存信息</button>
    </div>
</div>
</form>
{/block}


<!-- JS -->
{block name="js"}
    {load href="/static/lib/jquery/jquery.form.js"}
    {load href="/static/lib/validator/validator.min.js"}
    {load href="/static/ueditor/ueditor.config.js"}
    {load href="/static/ueditor/ueditor.all.min.js"}
    {load href="/static/ueditor/lang/zh-cn/zh-cn.js"}
{/block}
{block name="jscode"}
<script type="text/javascript">
$(document).ready(function() {
    // tinymce 编辑器
    // tinymce.init(tinymce_default_options);
    var ue = UE.getEditor('column_details');
});
</script>
{/block}